text view: Set an element name
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 22:11:13 +0000 (18:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 22:11:13 +0000 (18:11 -0400)
And it will be...drumroll...textview.

gtk/gtktextview.c

index 3980de4eb5a9a53ed4b605e807696c4b1ad9d139..8f8d2ce7a297db2754c4e3e78c35f9d5e81a7fdf 100644 (file)
@@ -1635,6 +1635,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
                                GTK_TYPE_DIRECTION_TYPE, GTK_DIR_TAB_BACKWARD);
 
   gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_TEXT_VIEW_ACCESSIBLE);
+  gtk_widget_class_set_css_name (widget_class, "textview");
 
   quark_text_selection_data = g_quark_from_static_string ("gtk-text-view-text-selection-data");
   quark_gtk_signal = g_quark_from_static_string ("gtk-signal");